rails paperclip and passenger `is not recognized by the 'identify' command`
Posted
by Joseph Silvashy
on Stack Overflow
See other posts from Stack Overflow
or by Joseph Silvashy
Published on 2010-01-03T19:58:35Z
Indexed on
2010/03/19
19:41 UTC
Read the original article
Hit count: 760
ruby-on-rails
|paperclip
When I upload a photo, my model fails validation, err well even without any validations I'm returned this error:
/tmp/stream20100103-13830-ywmerx-0 is not recognized by the 'identify' command. and
/tmp/stream20100103-13830-ywmerx-0 is not recognized by the 'identify' command.
I'm confident this is not related to ImageMagick because I've removed any image processing from the uploading, also I've tried uploading different mime types, like .txt files and the such.
Additionally, I found something that may work. A blog post claims that putting the following in my environment (in this case development.rb)
Paperclip.options[:command_path] = "/opt/local/bin"
© Stack Overflow or respective owner